﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Udisk u = new Udisk("科密 SD-601M");
            u.Output();
            u.Read();
            u.Write();
            Console.WriteLine("--------------------");
            MobileHarddisk m = new MobileHarddisk("闪迪（SanDisk)");
            m.Output();
            m.Read();
            m.Write();
            Console.WriteLine("********************");
            Computer cp = new Computer("华硕vivobook15s");
            cp.Start();
            cp.Usb1 = u;
            cp.Usb2 = m;
            cp.ReadDate();
            cp.WriteDate();
            cp.End();
        }
    }
}
